import React,{ Component } from 'react';
import { Card} from 'antd-mobile';
import '../../../../../style/component/NewsCard.less'
import tp from '../../../../../image/timg.jpg'

class NewsCard extends Component{
    render(){
        const newOne = this.props.news;
        return (
            <Card full>
                <Card.Body >
                    <div className='CardItem' >
                        <div className='w_60'>
                            <span className='black' >{newOne.title}</span><br />                   
                            <span className='content_size'>{newOne.content}</span>
                        </div>
                        <div className='w_40'>
                            <img src={tp} style={{width: '100%'}}></img>
                        </div>
                    </div>
                </Card.Body>
            </Card>
        )
    }
}
export {NewsCard}